import React from 'react';
import { Image } from 'react-native';
import px from '../../utils/px';

export default class BackIcon extends React.Component { //创建一个返回按钮的组件
    render() {
        return (
            <Image
                source={require('../../assets/images/back.png')}
                style={{ width: px(20), height: px(36) }}
            />
        );
    }
}
